import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import toast from '@/components/common/toast'
import lazyload from 'vue-lazyload'

Vue.config.productionTip = false

Vue.prototype.$bus = new Vue()

// 安装toast插件
Vue.use(toast)

// 安装lazyload插件
Vue.use(lazyload)

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
